<template>
  <div>
    <el-form
      :model="form"
      :inline="true"
      readonly
      label-width="150px"
      class="demo-table-expand"
      size="medium">
      <el-form-item label="商品编号" required >
        <el-input v-model="form.commId" readonly />
      </el-form-item>
      <el-form-item label="数量" required>
        <el-input v-model="form.amount" readonly />
      </el-form-item>
      <el-form-item label="商品名称" required>
        <el-input v-model="form.commodityBill.commName" readonly/>
      </el-form-item>
      <el-form-item label="成本" required>
        <el-input v-model="form.money" readonly/>
      </el-form-item>
      <el-form-item label="拼音编码" required>
        <el-input v-model="form.commodityBill.commSpellCode" readonly/>
      </el-form-item>
      <el-form-item label="仓库" required>
        <el-input v-model="form.depotBill.depotName" readonly/>
      </el-form-item>
      <el-form-item label="包装规格" required>
        <el-input v-model="form.commodityBill.commStandard" readonly/>
      </el-form-item>
      <el-form-item label="单位" required>
        <el-input v-model="form.commUnit" readonly />
      </el-form-item>
      <el-form-item label="销售价" required>
        <el-input v-model="form.commodityBill.salePrice" readonly />
      </el-form-item>
      <el-form-item label="产地" required>
        <el-input v-model="form.commodityBill.commProducingArea" readonly />
      </el-form-item>
      <el-form-item label="修改时间" required>
        <el-input v-model="form.gmtModified" readonly />
      </el-form-item>
      <el-form-item label="进价" required>
        <el-input v-model="form.commodityBill.purchasePrice" readonly />
      </el-form-item>
      <el-form-item label="最低销售价" required>
        <el-input v-model="form.commodityBill.lowestSalePrice" readonly />
      </el-form-item>
      <el-form-item label="类别" required>
        <el-input v-model="form.commodityBill.commSort" readonly />
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  name: 'diaMod',
  props: {
    form: {}
  },
  data() {
    return {
      dialogFormVisible: false,
      labelPosition: top
    }
  }
}
</script>

<style scoped>
</style>
